﻿using Gp.Scripts.Core;

namespace Gp.Scripts.Core
{
    public partial class Event_Unit
    {
        /// <summary>
        /// 单位攻击结束后触发的事件的参数
        /// </summary>
        public class AttackEnd : Event_Unit
        {
            public AttackActionResult Result { get; set; }
            public BaseUnit Source { get; }
            public BaseUnit Target { get; }

            public AttackEnd(AttackActionResult result, BaseUnit source, BaseUnit target)
            {
                Result = result;
                Source = source;
                Target = target;
            }
        }


        public class BlockAttack : Event_Unit
        {
            public readonly AttackPreReaction AttackPreReaction;
            public BlockAttack(AttackPreReaction args) { }
        }
        

        public class CostChange : Event_Unit
        {
                
        }
        
        
        
        // /// <summary>
        // /// 回合计数改变事件
        // /// </summary>
        // public class TurnCountChange : Event_Unit 
        // {
        //     public int TurnCount { get; }
        //
        //     public TurnCountChange(int turnCount) {
        //         TurnCount = turnCount;
        //     }
        // }

    }
}